import icon from "./icon"

/*test*/
// const common = "http://localhost:8080"
// const active = "/test"
// const BackendUrl = "http://localhost:9090"


/*production*/
const common = ""
const active = "/api"
const BackendUrl = "http://82.157.204.174:2024"

// 192.168.3.105
// const common = "http://192.168.3.105:8080"
// const active = "/api"
// const BackendUrl = "http://82.157.204.174:2024"

export default {
	ip:common,
	
	BackendUrl,
	// api: active,
	api: common + active,
    avatar:common+  active + "/file/getFile/image/default/user.jpg",
	
	
	
	//任务栏数据
	taskbarData:[
		{type:'home',active:true,icon:icon.homeIcon,label:'回到主页'},
		{type:'show',active:true,icon:icon.showIcon,label:'组件展示'},
		// {type:'top',active:true,icon:icon.topIcon,label:'回到顶部'},
		// {type:'back',active:true,icon:icon.backIcon,label:'返回'},
		// {type:'resource',active:true,icon:icon.resourceIcon,label:'资源管理'},
		// {type:'repair',active:true,icon:icon.repairIcon,label:'清除缓存'},
		// {type:'theme',active:true,icon:icon.theme,label:'主题设置'},
		// {type:'settingTaskbar',active:true,icon:icon.settingIcon,label:'任务设置'},
		// {type:'log',active:true,icon:icon.logIcon,label:'查看输出日志'},
	]
	
}